package com.zjh.workflow.flowable.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TaskInputParam {

    private Map<String, Object> map;

    // 流程Key， 对应一类流程
    private String processKey;

    // 流程Id, 对应一类流程
    private String processId;

    // 实例Id
    private String instanceId;

    // 流程任务Id
    private String taskId;

    // 业务键
    private String businessKey;

    /**
     * 审批类型 必填
     */
    private String type;

    // 审批意见
    private String comment;

    // 目标流程节点Id
    private String destNodeId;

    // 是否跳过第一个节点
    private Boolean skipFirst;

    /**
     * 任务参数 选填
     */
    private Map<String, Object> variables;
}
